package com.scau.clothes.sale.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.scau.clothes.sale.model.entity.Sale;
import com.scau.clothes.sale.model.entity.nameSale;
import com.scau.clothes.sale.model.vo.PieDataVo;
import com.scau.clothes.sale.model.entity.SaleClothes;

import java.math.BigDecimal;
import java.time.LocalDate;
import java.util.Date;
import java.util.List;
import java.util.Map;

public interface SaleClothesService extends IService<SaleClothes> {
    int updateSaleClothes(SaleClothes saleClothes);
    int deleteSaleClothes(SaleClothes saleClothes);

    List<nameSale> selectSaleItemList(String startDate, String endDate);

    public Map<Integer, BigDecimal> getYearSales(int year);
}
